projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
122e0b4
)
Use nr_of_pages_to_print instead of nr_of_pages when updating printing progress
author
Carlos Garcia Campos
<carlosgc@gnome.org>
Sun, 17 May 2009 16:11:46 +0000
(18:11 +0200)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Mon, 18 May 2009 07:43:13 +0000
(09:43 +0200)
Fixes bgo#582950.
gtk/gtkprintoperation.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprintoperation.c
b/gtk/gtkprintoperation.c
index bc0a5e519d79ea9e22a6998132cebfa1d2e238af..4c9b9be20e37090eabe0eb1a1fda67e89c8a7f9c 100644
(file)
--- a/
gtk/gtkprintoperation.c
+++ b/
gtk/gtkprintoperation.c
@@
-2115,8
+2115,8
@@
update_progress (PrintPagesData *data)
{
if (priv->status == GTK_PRINT_STATUS_PREPARING)
{
- if (priv->nr_of_pages > 0)
- text = g_strdup_printf (_("Preparing %d"), priv->nr_of_pages);
+ if (priv->nr_of_pages
_to_print
> 0)
+ text = g_strdup_printf (_("Preparing %d"), priv->nr_of_pages
_to_print
);
else
text = g_strdup (_("Preparing"));
}